home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / stk-3.002 / stk-3 / STk-3.1 / Doc / Reference / Appendix-B.tex < prev    next >
LaTeX Document  |  1996-07-08  |  5.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: Appendix-B.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime text/x-matlab default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 0a 25 20 53 54 6b 20 | 52 65 66 65 72 65 6e 63 |%.% STk |Referenc|
|00000010| 65 20 6d 61 6e 75 61 6c | 20 28 41 70 70 65 6e 64 |e manual| (Append|
|00000020| 69 78 3a 20 55 73 69 6e | 67 20 74 68 65 20 54 6b |ix: Usin|g the Tk|
|00000030| 20 74 6f 6f 6c 6b 69 74 | 29 0a 25 0a 25 20 20 20 | toolkit|).%.% |
|00000040| 20 20 20 20 20 20 20 20 | 41 75 74 68 6f 72 3a 20 | |Author: |
|00000050| 45 72 69 63 6b 20 47 61 | 6c 6c 65 73 69 6f 20 5b |Erick Ga|llesio [|
|00000060| 65 67 40 75 6e 69 63 65 | 2e 66 72 5d 0a 25 20 20 |eg@unice|.fr].% |
|00000070| 20 20 43 72 65 61 74 69 | 6f 6e 20 64 61 74 65 3a | Creati|on date:|
|00000080| 20 3f 3f 2d 4e 6f 76 2d | 31 39 39 33 20 3f 3f 3a | ??-Nov-|1993 ??:|
|00000090| 3f 3f 0a 25 20 4c 61 73 | 74 20 66 69 6c 65 20 75 |??.% Las|t file u|
|000000a0| 70 64 61 74 65 3a 20 20 | 38 2d 4a 75 6c 2d 31 39 |pdate: |8-Jul-19|
|000000b0| 39 36 20 32 31 3a 35 32 | 0a 25 0a 0a 5c 6e 65 77 |96 21:52|.%..\new|
|000000c0| 63 6f 6d 6d 61 6e 64 7b | 5c 73 63 68 67 6c 6f 62 |command{|\schglob|
|000000d0| 7d 5b 31 5d 7b 2a 23 31 | 2a 7d 0a 0a 54 68 69 73 |}[1]{*#1|*}..This|
|000000e0| 20 61 70 70 65 6e 64 69 | 78 20 73 75 6d 6d 61 72 | appendi|x summar|
|000000f0| 69 7a 65 73 20 74 68 65 | 20 6d 61 69 6e 20 64 69 |izes the| main di|
|00000100| 66 66 65 72 65 6e 63 65 | 73 20 62 65 74 77 65 65 |fference|s betwee|
|00000110| 6e 20 74 68 65 20 7b 5c | 73 74 6b 7d 20 53 63 68 |n the {\|stk} Sch|
|00000120| 65 6d 65 0a 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |eme.impl|ementati|
|00000130| 6f 6e 20 61 6e 64 20 74 | 68 65 20 6c 61 6e 67 75 |on and t|he langu|
|00000140| 61 67 65 20 64 65 73 63 | 72 69 62 65 64 20 69 6e |age desc|ribed in|
|00000150| 20 7b 5c 72 72 72 72 7d | 2e 0a 0a 5c 73 65 63 74 | {\rrrr}|...\sect|
|00000160| 69 6f 6e 7b 53 79 6d 62 | 6f 6c 73 7d 0a 0a 7b 5c |ion{Symb|ols}..{\|
|00000170| 73 74 6b 7d 20 73 79 6d | 62 6f 6c 20 73 79 6e 74 |stk} sym|bol synt|
|00000180| 61 78 20 68 61 73 20 62 | 65 65 6e 20 61 75 67 6d |ax has b|een augm|
|00000190| 65 6e 74 65 64 20 74 6f | 20 61 6c 6c 6f 77 20 63 |ented to| allow c|
|000001a0| 61 73 65 20 73 69 67 6e | 69 66 69 63 61 6e 74 20 |ase sign|ificant |
|000001b0| 73 79 6d 62 6f 6c 73 2e | 20 0a 54 68 69 73 20 65 |symbols.| .This e|
|000001c0| 78 74 65 6e 73 69 6f 6e | 20 69 73 20 64 69 73 63 |xtension| is disc|
|000001d0| 75 73 73 65 64 20 69 6e | 20 5c 72 65 66 7b 73 79 |ussed in| \ref{sy|
|000001e0| 6d 62 6f 6c 73 65 63 74 | 69 6f 6e 7d 2e 0a 0a 54 |mbolsect|ion}...T|
|000001f0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 73 79 6d |he follo|wing sym|
|00000200| 62 6f 6c 73 20 61 72 65 | 20 64 65 66 69 6e 65 64 |bols are| defined|
|00000210| 20 69 6e 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 65 | in the |global e|
|00000220| 6e 76 69 72 6f 6e 6d 65 | 6e 74 2e 0a 0a 5c 62 65 |nvironme|nt...\be|
|00000230| 67 69 6e 7b 69 74 65 6d | 69 7a 65 7d 0a 0a 5c 69 |gin{item|ize}..\i|
|00000240| 74 65 6d 20 7b 5c 74 74 | 5c 73 63 68 67 6c 6f 62 |tem {\tt|\schglob|
|00000250| 7b 64 65 62 75 67 7d 7d | 5c 73 63 68 69 6e 64 65 |{debug}}|\schinde|
|00000260| 78 7b 5c 73 63 68 67 6c | 6f 62 7b 64 65 62 75 67 |x{\schgl|ob{debug|
|00000270| 7d 7d 2e 20 53 65 74 74 | 69 6e 67 0a 20 20 20 20 |}}. Sett|ing. |
|00000280| 7b 5c 74 74 20 5c 73 63 | 68 67 6c 6f 62 7b 64 65 |{\tt \sc|hglob{de|
|00000290| 62 75 67 7d 7d 20 74 6f | 20 7b 5c 73 63 68 74 72 |bug}} to| {\schtr|
|000002a0| 75 65 7d 20 70 72 65 76 | 65 6e 74 73 20 6d 61 63 |ue} prev|ents mac|
|000002b0| 72 6f 20 69 6e 6c 69 6e | 69 6e 67 20 61 6e 64 20 |ro inlin|ing and |
|000002c0| 0a 20 20 20 20 65 78 70 | 72 65 73 73 69 6f 6e 20 |. exp|ression |
|000002d0| 72 65 63 6f 64 69 6e 67 | 20 28 73 65 65 7e 5c 72 |recoding| (see~\r|
|000002e0| 65 66 7b 75 6e 63 6f 64 | 65 7d 29 2e 0a 20 20 20 |ef{uncod|e}).. |
|000002f0| 20 20 20 20 20 0a 5c 69 | 74 65 6d 20 7b 5c 74 74 | .\i|tem {\tt|
|00000300| 5c 73 63 68 67 6c 6f 62 | 7b 67 63 2d 76 65 72 62 |\schglob|{gc-verb|
|00000310| 6f 73 65 7d 7d 5c 73 63 | 68 69 6e 64 65 78 7b 5c |ose}}\sc|hindex{\|
|00000320| 73 63 68 67 6c 6f 62 7b | 67 63 2d 76 65 72 62 6f |schglob{|gc-verbo|
|00000330| 73 65 7d 7d 2e 20 49 66 | 20 0a 20 20 20 20 20 20 |se}}. If| . |
|00000340| 7b 5c 74 74 5c 73 63 68 | 67 6c 6f 62 7b 67 63 2d |{\tt\sch|glob{gc-|
|00000350| 76 65 72 62 6f 73 65 7d | 7d 20 69 73 20 7b 5c 73 |verbose}|} is {\s|
|00000360| 63 68 74 72 75 65 7d 2c | 20 61 20 6d 65 73 73 61 |chtrue},| a messa|
|00000370| 67 65 20 77 69 6c 6c 20 | 62 65 20 70 72 69 6e 74 |ge will |be print|
|00000380| 65 64 20 62 65 66 6f 72 | 65 0a 20 20 20 20 20 20 |ed befor|e. |
|00000390| 61 6e 64 20 61 66 74 65 | 72 20 65 61 63 68 20 72 |and afte|r each r|
|000003a0| 75 6e 20 6f 66 20 67 61 | 72 62 61 67 65 20 63 6f |un of ga|rbage co|
|000003b0| 6c 6c 65 63 74 6f 72 2e | 20 54 68 65 20 6d 65 73 |llector.| The mes|
|000003c0| 73 61 67 65 20 69 73 20 | 70 72 69 6e 74 65 64 20 |sage is |printed |
|000003d0| 6f 6e 20 74 68 65 0a 20 | 20 20 20 20 20 73 74 61 |on the. | sta|
|000003e0| 6e 64 61 72 64 20 65 72 | 72 6f 72 20 73 74 72 65 |ndard er|ror stre|
|000003f0| 61 6d 2e 0a 20 20 20 20 | 20 0a 5c 69 74 65 6d 20 |am.. | .\item |
|00000400| 7b 5c 74 74 5c 73 63 68 | 67 6c 6f 62 7b 6c 6f 61 |{\tt\sch|glob{loa|
|00000410| 64 2d 76 65 72 62 6f 73 | 65 7d 7d 5c 73 63 68 69 |d-verbos|e}}\schi|
|00000420| 6e 64 65 78 7b 5c 73 63 | 68 67 6c 6f 62 7b 6c 6f |ndex{\sc|hglob{lo|
|00000430| 61 64 2d 76 65 72 62 6f | 73 65 7d 7d 2e 20 49 66 |ad-verbo|se}}. If|
|00000440| 20 0a 20 20 20 20 20 20 | 7b 5c 74 74 5c 73 63 68 | . |{\tt\sch|
|00000450| 67 6c 6f 62 7b 6c 6f 61 | 64 2d 76 65 72 62 6f 73 |glob{loa|d-verbos|
|00000460| 65 7d 7d 20 69 73 20 7b | 5c 73 63 68 74 72 75 65 |e}} is {|\schtrue|
|00000470| 7d 2c 20 74 68 65 20 61 | 62 73 6f 6c 75 74 65 20 |}, the a|bsolute |
|00000480| 70 61 74 68 20 6e 61 6d | 65 20 6f 66 0a 20 20 20 |path nam|e of. |
|00000490| 20 20 20 65 61 63 68 20 | 6c 6f 61 64 65 64 20 66 | each |loaded f|
|000004a0| 69 6c 65 20 69 73 20 70 | 72 69 6e 74 65 64 20 62 |ile is p|rinted b|
|000004b0| 65 66 6f 72 65 20 69 74 | 73 20 65 66 66 65 63 74 |efore it|s effect|
|000004c0| 69 76 65 20 72 65 61 64 | 69 6e 67 2e 20 46 69 6c |ive read|ing. Fil|
|000004d0| 65 20 6e 61 6d 65 73 0a | 20 20 20 20 20 20 61 72 |e names.| ar|
|000004e0| 65 20 70 72 69 6e 74 65 | 64 20 6f 6e 20 74 68 65 |e printe|d on the|
|000004f0| 20 73 74 61 6e 64 61 72 | 64 20 65 72 72 6f 72 20 | standar|d error |
|00000500| 73 74 72 65 61 6d 2e 0a | 20 20 20 20 20 20 0a 20 |stream..| . |
|00000510| 20 20 20 5c 69 74 65 6d | 20 7b 5c 74 74 5c 73 63 | \item| {\tt\sc|
|00000520| 68 67 6c 6f 62 7b 6c 6f | 61 64 2d 70 61 74 68 7d |hglob{lo|ad-path}|
|00000530| 7d 5c 73 63 68 69 6e 64 | 65 78 7b 5c 73 63 68 67 |}\schind|ex{\schg|
|00000540| 6c 6f 62 7b 6c 6f 61 64 | 2d 70 61 74 68 7d 7d 20 |lob{load|-path}} |
|00000550| 6d 75 73 74 0a 20 20 20 | 20 20 20 63 6f 6e 74 61 |must. | conta|
|00000560| 69 6e 20 61 20 6c 69 73 | 74 20 6f 66 20 73 74 72 |in a lis|t of str|
|00000570| 69 6e 67 73 2e 20 45 61 | 63 68 20 73 74 72 69 6e |ings. Ea|ch strin|
|00000580| 67 20 69 73 20 74 61 6b | 65 6e 20 61 73 20 61 20 |g is tak|en as a |
|00000590| 64 69 72 65 63 74 6f 72 | 79 0a 20 20 20 20 20 20 |director|y. |
|000005a0| 70 61 74 68 20 6e 61 6d | 65 20 69 6e 20 77 68 69 |path nam|e in whi|
|000005b0| 63 68 20 61 20 66 69 6c | 65 20 77 69 6c 6c 20 62 |ch a fil|e will b|
|000005c0| 65 20 73 65 61 72 63 68 | 65 64 20 66 6f 72 20 6c |e search|ed for l|
|000005d0| 6f 61 64 69 6e 67 2e 20 | 54 68 69 73 0a 20 20 20 |oading. |This. |
|000005e0| 20 20 20 76 61 72 69 61 | 62 6c 65 20 63 61 6e 20 | varia|ble can |
|000005f0| 62 65 20 73 65 74 20 61 | 75 74 6f 6d 61 74 69 63 |be set a|utomatic|
|00000600| 61 6c 6c 79 20 66 72 6f | 6d 20 74 68 65 20 7b 5c |ally fro|m the {\|
|00000610| 74 74 20 53 54 4b 5c 5f | 4c 4f 41 44 5c 5f 50 41 |tt STK\_|LOAD\_PA|
|00000620| 54 48 7d 0a 20 20 20 20 | 20 20 73 68 65 6c 6c 20 |TH}. | shell |
|00000630| 76 61 72 69 61 62 6c 65 | 2e 20 53 65 65 20 7b 5c |variable|. See {\|
|00000640| 74 74 20 73 74 6b 28 31 | 29 7d 20 66 6f 72 20 6d |tt stk(1|)} for m|
|00000650| 6f 72 65 20 64 65 74 61 | 69 6c 73 2e 0a 0a 5c 69 |ore deta|ils...\i|
|00000660| 74 65 6d 20 20 7b 5c 74 | 74 5c 73 63 68 67 6c 6f |tem {\t|t\schglo|
|00000670| 62 7b 6c 6f 61 64 2d 73 | 75 66 66 69 78 65 73 7d |b{load-s|uffixes}|
|00000680| 7d 5c 73 63 68 69 6e 64 | 65 78 7b 5c 73 63 68 67 |}\schind|ex{\schg|
|00000690| 6c 6f 62 7b 6c 6f 61 64 | 2d 73 75 66 66 69 78 65 |lob{load|-suffixe|
|000006a0| 73 7d 7d 0a 20 20 20 20 | 20 20 6d 75 73 74 20 63 |s}}. | must c|
|000006b0| 6f 6e 74 61 69 6e 20 61 | 20 6c 69 73 74 20 6f 66 |ontain a| list of|
|000006c0| 20 73 74 72 69 6e 67 73 | 2e 20 57 68 65 6e 20 74 | strings|. When t|
|000006d0| 68 65 20 73 79 73 74 65 | 6d 20 74 72 79 20 74 6f |he syste|m try to|
|000006e0| 20 6c 6f 61 64 20 61 0a | 20 20 20 20 20 20 66 69 | load a.| fi|
|000006f0| 6c 65 20 69 6e 20 61 20 | 67 69 76 65 6e 20 64 69 |le in a |given di|
|00000700| 72 65 63 74 6f 72 79 20 | 28 61 63 63 6f 72 64 69 |rectory |(accordi|
|00000710| 6e 67 20 74 6f 20 7b 5c | 74 74 5c 73 63 68 67 6c |ng to {\|tt\schgl|
|00000720| 6f 62 7b 6c 6f 61 64 2d | 70 61 74 68 7d 7d 0a 20 |ob{load-|path}}. |
|00000730| 20 20 20 20 20 76 61 6c | 75 65 29 2c 20 69 74 20 | val|ue), it |
|00000740| 77 69 6c 6c 20 66 69 72 | 73 74 20 74 72 79 20 74 |will fir|st try t|
|00000750| 6f 20 6c 6f 61 64 20 69 | 74 20 77 69 74 68 6f 75 |o load i|t withou|
|00000760| 74 20 73 75 66 66 69 78 | 2e 20 49 66 20 74 68 69 |t suffix|. If thi|
|00000770| 73 0a 20 20 20 20 20 20 | 66 69 6c 65 20 64 6f 65 |s. |file doe|
|00000780| 73 20 6e 6f 74 20 65 78 | 69 73 74 2c 20 74 68 65 |s not ex|ist, the|
|00000790| 20 73 79 73 74 65 6d 20 | 77 69 6c 6c 20 73 65 71 | system |will seq|
|000007a0| 75 65 6e 74 69 61 6c 6c | 79 20 74 72 79 20 74 6f |uentiall|y try to|
|000007b0| 20 66 69 6e 64 20 74 68 | 65 20 66 69 6c 65 20 62 | find th|e file b|
|000007c0| 79 0a 20 20 20 20 20 20 | 61 70 70 65 6e 64 69 6e |y. |appendin|
|000007d0| 67 20 65 61 63 68 20 73 | 75 66 66 69 78 20 6f 66 |g each s|uffix of|
|000007e0| 20 74 68 69 73 20 6c 69 | 73 74 2e 20 41 20 74 79 | this li|st. A ty|
|000007f0| 70 69 63 61 6c 20 76 61 | 6c 75 65 20 66 6f 72 20 |pical va|lue for |
|00000800| 74 68 69 73 0a 20 20 20 | 20 20 20 76 61 72 69 61 |this. | varia|
|00000810| 62 6c 65 20 6d 61 79 20 | 62 65 20 7b 5c 74 74 20 |ble may |be {\tt |
|00000820| 28 22 73 74 6b 22 20 22 | 73 74 6b 6c 6f 73 22 20 |("stk" "|stklos" |
|00000830| 22 73 63 6d 22 20 22 73 | 6f 22 29 7d 2e 0a 20 20 |"scm" "s|o")}.. |
|00000840| 20 20 20 20 0a 20 20 20 | 20 5c 69 74 65 6d 20 7b | . | \item {|
|00000850| 5c 74 74 5c 73 63 68 67 | 6c 6f 62 7b 68 65 6c 70 |\tt\schg|lob{help|
|00000860| 2d 70 61 74 68 7d 7d 5c | 73 63 68 69 6e 64 65 78 |-path}}\|schindex|
|00000870| 7b 68 65 6c 70 2c 0a 20 | 20 20 20 20 20 20 20 67 |{help,. | g|
|00000880| 65 74 74 69 6e 67 7d 5c | 73 63 68 69 6e 64 65 78 |etting}\|schindex|
|00000890| 7b 5c 73 63 68 67 6c 6f | 62 7b 68 65 6c 70 2d 70 |{\schglo|b{help-p|
|000008a0| 61 74 68 7d 7d 20 6d 75 | 73 74 20 63 6f 6e 74 61 |ath}} mu|st conta|
|000008b0| 69 6e 20 61 20 6c 69 73 | 74 20 6f 66 0a 20 20 20 |in a lis|t of. |
|000008c0| 20 20 20 73 74 72 69 6e | 67 73 2e 20 20 45 61 63 | strin|gs. Eac|
|000008d0| 68 20 73 74 72 69 6e 67 | 20 69 73 20 74 61 6b 65 |h string| is take|
|000008e0| 6e 20 61 73 20 61 20 64 | 69 72 65 63 74 6f 72 79 |n as a d|irectory|
|000008f0| 20 70 61 74 68 20 6e 61 | 6d 65 20 69 6e 20 77 68 | path na|me in wh|
|00000900| 69 63 68 0a 20 20 20 20 | 20 20 64 6f 63 75 6d 65 |ich. | docume|
|00000910| 6e 74 61 74 69 6f 6e 20 | 66 69 6c 65 73 20 61 72 |ntation |files ar|
|00000920| 65 20 73 65 61 72 63 68 | 65 64 2e 20 54 68 69 73 |e search|ed. This|
|00000930| 20 76 61 72 69 61 62 6c | 65 20 63 61 6e 20 62 65 | variabl|e can be|
|00000940| 20 73 65 74 0a 20 20 20 | 20 20 20 61 75 74 6f 6d | set. | autom|
|00000950| 61 74 69 63 61 6c 6c 79 | 20 66 72 6f 6d 20 74 68 |atically| from th|
|00000960| 65 20 7b 5c 74 74 20 53 | 54 4b 5c 5f 48 45 4c 50 |e {\tt S|TK\_HELP|
|00000970| 5c 5f 50 41 54 48 7d 20 | 73 68 65 6c 6c 20 76 61 |\_PATH} |shell va|
|00000980| 72 69 61 62 6c 65 2e 20 | 53 65 65 0a 20 20 20 20 |riable. |See. |
|00000990| 20 20 7b 5c 74 74 20 73 | 74 6b 28 31 29 7d 20 66 | {\tt s|tk(1)} f|
|000009a0| 6f 72 20 6d 6f 72 65 20 | 64 65 74 61 69 6c 73 2e |or more |details.|
|000009b0| 0a 0a 5c 69 74 65 6d 20 | 7b 5c 74 74 5c 73 63 68 |..\item |{\tt\sch|
|000009c0| 67 6c 6f 62 7b 61 72 67 | 63 7d 7d 5c 73 63 68 69 |glob{arg|c}}\schi|
|000009d0| 6e 64 65 78 7b 5c 73 63 | 68 67 6c 6f 62 7b 61 72 |ndex{\sc|hglob{ar|
|000009e0| 67 63 7d 7d 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |gc}} con|tains th|
|000009f0| 65 0a 20 20 20 20 20 20 | 20 6e 75 6d 62 65 72 20 |e. | number |
|00000a00| 6f 66 20 61 72 67 75 6d | 65 6e 74 73 20 20 28 30 |of argum|ents (0|
|00000a10| 20 69 66 20 6e 6f 6e 65 | 29 2c 20 6e 6f 74 20 69 | if none|), not i|
|00000a20| 6e 63 6c 75 64 69 6e 67 | 20 69 6e 74 65 72 70 72 |ncluding| interpr|
|00000a30| 65 74 65 72 0a 20 20 20 | 20 20 20 20 6f 70 74 69 |eter. | opti|
|00000a40| 6f 6e 73 2e 20 53 65 65 | 20 7b 5c 74 74 20 73 74 |ons. See| {\tt st|
|00000a50| 6b 28 31 29 7d 20 66 6f | 72 20 6d 6f 72 65 20 64 |k(1)} fo|r more d|
|00000a60| 65 74 61 69 6c 73 2e 0a | 0a 5c 69 74 65 6d 20 7b |etails..|.\item {|
|00000a70| 5c 74 74 5c 73 63 68 67 | 6c 6f 62 7b 61 72 67 76 |\tt\schg|lob{argv|
|00000a80| 7d 7d 5c 73 63 68 69 6e | 64 65 78 7b 5c 73 63 68 |}}\schin|dex{\sch|
|00000a90| 67 6c 6f 62 7b 61 72 67 | 76 7d 7d 20 63 6f 6e 74 |glob{arg|v}} cont|
|00000aa0| 61 69 6e 73 20 61 20 53 | 63 68 65 6d 65 20 0a 20 |ains a S|cheme . |
|00000ab0| 20 20 20 20 20 6c 69 73 | 74 20 77 68 6f 73 65 20 | lis|t whose |
|00000ac0| 65 6c 65 6d 65 6e 74 73 | 20 61 72 65 20 74 68 65 |elements| are the|
|00000ad0| 20 61 72 67 75 6d 65 6e | 74 73 20 28 6e 6f 74 20 | argumen|ts (not |
|00000ae0| 69 6e 63 6c 75 64 69 6e | 67 20 74 68 65 20 69 6e |includin|g the in|
|00000af0| 74 65 72 70 72 65 74 65 | 72 0a 20 20 20 20 20 20 |terprete|r. |
|00000b00| 6f 70 74 69 6f 6e 73 29 | 2c 20 69 6e 20 6f 72 64 |options)|, in ord|
|00000b10| 65 72 2c 20 6f 72 20 61 | 6e 20 65 6d 70 74 79 20 |er, or a|n empty |
|00000b20| 6c 69 73 74 20 69 66 20 | 74 68 65 72 65 20 61 72 |list if |there ar|
|00000b30| 65 20 6e 6f 20 61 72 67 | 75 6d 65 6e 74 73 2e 0a |e no arg|uments..|
|00000b40| 20 20 20 20 20 20 53 65 | 65 20 7b 5c 74 74 20 73 | Se|e {\tt s|
|00000b50| 74 6b 28 31 29 7d 20 66 | 6f 72 20 6d 6f 72 65 20 |tk(1)} f|or more |
|00000b60| 64 65 74 61 69 6c 73 2e | 0a 0a 5c 69 74 65 6d 20 |details.|..\item |
|00000b70| 7b 5c 74 74 5c 73 63 68 | 67 6c 6f 62 7b 70 72 6f |{\tt\sch|glob{pro|
|00000b80| 67 72 61 6d 2d 6e 61 6d | 65 7d 7d 5c 73 63 68 69 |gram-nam|e}}\schi|
|00000b90| 6e 64 65 78 7b 5c 73 63 | 68 67 6c 6f 62 7b 70 72 |ndex{\sc|hglob{pr|
|00000ba0| 6f 67 72 61 6d 2d 6e 61 | 6d 65 7d 7d 20 63 6f 6e |ogram-na|me}} con|
|00000bb0| 74 61 69 6e 73 0a 20 20 | 20 20 20 20 74 68 65 20 |tains. | the |
|00000bc0| 66 69 6c 65 20 6e 61 6d | 65 20 73 70 65 63 69 66 |file nam|e specif|
|00000bd0| 69 65 64 20 77 69 74 68 | 20 74 68 65 20 7b 5c 74 |ied with| the {\t|
|00000be0| 74 20 2d 66 69 6c 65 7d | 20 6f 70 74 69 6f 6e 2c |t -file}| option,|
|00000bf0| 20 69 66 20 70 72 65 73 | 65 6e 74 2e 0a 20 20 20 | if pres|ent.. |
|00000c00| 20 20 20 4f 74 68 65 72 | 77 69 73 65 2c 20 69 74 | Other|wise, it|
|00000c10| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 6e 61 | contain|s the na|
|00000c20| 6d 65 20 74 68 72 6f 75 | 67 68 20 77 68 69 63 68 |me throu|gh which|
|00000c30| 20 74 68 65 20 69 6e 74 | 65 72 70 72 65 74 65 72 | the int|erpreter|
|00000c40| 20 77 61 73 20 69 6e 76 | 6f 6b 65 64 2e 0a 20 20 | was inv|oked.. |
|00000c50| 20 20 20 20 53 65 65 20 | 7b 5c 74 74 20 73 74 6b | See |{\tt stk|
|00000c60| 28 31 29 7d 20 66 6f 72 | 20 6d 6f 72 65 20 64 65 |(1)} for| more de|
|00000c70| 74 61 69 6c 73 2e 0a 0a | 5c 69 74 65 6d 20 7b 5c |tails...|\item {\|
|00000c80| 74 74 5c 73 63 68 67 6c | 6f 62 7b 70 72 69 6e 74 |tt\schgl|ob{print|
|00000c90| 2d 62 61 6e 6e 65 72 7d | 7d 5c 73 63 68 69 6e 64 |-banner}|}\schind|
|00000ca0| 65 78 7b 5c 73 63 68 67 | 6c 6f 62 7b 70 72 69 6e |ex{\schg|lob{prin|
|00000cb0| 74 2d 62 61 6e 6e 65 72 | 7d 7d 2e 20 49 66 20 0a |t-banner|}}. If .|
|00000cc0| 20 20 20 20 20 20 7b 5c | 74 74 5c 73 63 68 67 6c | {\|tt\schgl|
|00000cd0| 6f 62 7b 70 72 69 6e 74 | 2d 76 65 72 62 6f 73 65 |ob{print|-verbose|
|00000ce0| 7d 7d 20 69 73 20 7b 5c | 73 63 68 66 61 6c 73 65 |}} is {\|schfalse|
|00000cf0| 7d 2c 20 74 68 65 20 75 | 73 75 61 6c 20 63 6f 70 |}, the u|sual cop|
|00000d00| 79 72 69 67 68 74 0a 20 | 20 20 20 20 20 6d 65 73 |yright. | mes|
|00000d10| 73 61 67 65 20 69 73 20 | 6e 6f 74 20 64 69 73 70 |sage is |not disp|
|00000d20| 6c 61 79 65 64 20 77 68 | 65 6e 20 74 68 65 20 69 |layed wh|en the i|
|00000d30| 6e 74 65 72 70 72 65 74 | 65 72 20 69 73 20 73 74 |nterpret|er is st|
|00000d40| 61 72 74 65 64 2e 0a 0a | 5c 69 74 65 6d 20 7b 5c |arted...|\item {\|
|00000d50| 74 74 5c 73 63 68 67 6c | 6f 62 7b 72 6f 6f 74 7d |tt\schgl|ob{root}|
|00000d60| 7d 5c 73 63 68 69 6e 64 | 65 78 7b 5c 73 63 68 67 |}\schind|ex{\schg|
|00000d70| 6c 6f 62 7b 72 6f 6f 74 | 7d 7d 20 64 65 73 69 67 |lob{root|}} desig|
|00000d80| 6e 61 74 65 73 20 74 68 | 65 20 54 6b 20 6d 61 69 |nates th|e Tk mai|
|00000d90| 6e 0a 20 20 20 20 20 20 | 77 69 6e 64 6f 77 20 28 |n. |window (|
|00000da0| 73 65 65 7e 41 2d 5c 72 | 65 66 7b 72 6f 6f 74 20 |see~A-\r|ef{root |
|00000db0| 77 69 6e 64 6f 77 7d 29 | 2e 20 54 68 69 73 20 76 |window})|. This v|
|00000dc0| 61 72 69 61 62 6c 65 20 | 69 73 20 6e 6f 74 20 73 |ariable |is not s|
|00000dd0| 65 74 20 69 66 0a 20 20 | 20 20 20 20 74 68 65 20 |et if. | the |
|00000de0| 54 6b 20 74 6f 6f 6c 6b | 69 74 20 69 73 20 6e 6f |Tk toolk|it is no|
|00000df0| 74 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 2e 0a 5c |t initia|lized..\|
|00000e00| 65 6e 64 7b 69 74 65 6d | 69 7a 65 7d 0a 0a 5c 73 |end{item|ize}..\s|
|00000e10| 65 63 74 69 6f 6e 7b 54 | 79 70 65 73 7d 0a 0a 7b |ection{T|ypes}..{|
|00000e20| 5c 73 74 6b 7d 20 69 6d | 70 6c 65 6d 65 6e 74 73 |\stk} im|plements|
|00000e30| 20 61 6c 6c 20 74 68 65 | 20 74 79 70 65 73 20 64 | all the| types d|
|00000e40| 65 66 69 6e 65 64 20 61 | 73 20 6d 61 6e 64 61 74 |efined a|s mandat|
|00000e50| 6f 72 79 20 69 6e 20 7b | 5c 72 72 72 72 7d 2e 20 |ory in {|\rrrr}. |
|00000e60| 48 6f 77 65 76 65 72 2c | 20 63 6f 6d 70 6c 65 78 |However,| complex|
|00000e70| 0a 6e 75 6d 62 65 72 73 | 20 61 6e 64 20 72 61 74 |.numbers| and rat|
|00000e80| 69 6f 6e 61 6c 20 6e 75 | 6d 62 65 72 73 20 28 77 |ional nu|mbers (w|
|00000e90| 68 69 63 68 20 61 72 65 | 20 64 65 66 69 6e 65 64 |hich are| defined|
|00000ea0| 20 62 75 74 20 6e 6f 74 | 20 72 65 71 75 69 72 65 | but not| require|
|00000eb0| 64 20 69 6e 20 5c 72 72 | 72 72 29 20 61 72 65 0a |d in \rr|rr) are.|
|00000ec0| 6e 6f 74 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e |not impl|emented.|
|00000ed0| 20 54 68 65 20 6c 61 63 | 6b 20 6f 66 20 74 68 65 | The lac|k of the|
|00000ee0| 73 65 20 74 79 70 65 73 | 20 69 6d 70 6c 69 65 73 |se types| implies|
|00000ef0| 20 74 68 61 74 20 73 6f | 6d 65 20 66 75 6e 63 74 | that so|me funct|
|00000f00| 69 6f 6e 73 20 6f 66 0a | 7b 5c 72 72 72 72 7d 20 |ions of.|{\rrrr} |
|00000f10| 61 72 65 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 2e |are not |defined.|
|00000f20| 0a 0a 53 6f 6d 65 20 74 | 79 70 65 73 20 77 68 69 |..Some t|ypes whi|
|00000f30| 63 68 20 61 72 65 20 6e | 6f 74 20 64 65 66 69 6e |ch are n|ot defin|
|00000f40| 65 64 20 69 6e 20 7b 5c | 72 72 72 72 7d 20 61 72 |ed in {\|rrrr} ar|
|00000f50| 65 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 20 69 6e |e implem|ented in|
|00000f60| 20 7b 5c 73 74 6b 7d 2e | 20 54 68 6f 73 65 20 0a | {\stk}.| Those .|
|00000f70| 74 79 70 65 73 20 61 72 | 65 20 6c 69 73 74 65 64 |types ar|e listed|
|00000f80| 20 62 65 6c 6f 77 3a 0a | 5c 62 65 67 69 6e 7b 69 | below:.|\begin{i|
|00000f90| 74 65 6d 69 7a 65 7d 0a | 5c 69 74 65 6d 20 69 6e |temize}.|\item in|
|00000fa0| 70 75 74 20 73 74 72 69 | 6e 67 20 70 6f 72 74 20 |put stri|ng port |
|00000fb0| 74 79 70 65 20 28 5c 72 | 65 66 7b 69 6e 70 75 74 |type (\r|ef{input|
|00000fc0| 6f 75 74 70 75 74 7d 29 | 0a 5c 69 74 65 6d 20 6f |output})|.\item o|
|00000fd0| 75 74 70 75 74 20 73 74 | 72 69 6e 67 20 70 6f 72 |utput st|ring por|
|00000fe0| 74 20 74 79 70 65 20 28 | 5c 72 65 66 7b 69 6e 70 |t type (|\ref{inp|
|00000ff0| 75 74 6f 75 74 70 75 74 | 7d 29 0a 5c 69 74 65 6d |utoutput|}).\item|
|00001000| 20 6b 65 79 77 6f 72 64 | 20 74 79 70 65 20 28 5c | keyword| type (\|
|00001010| 72 65 66 7b 6b 65 79 77 | 6f 72 64 73 7d 29 0a 5c |ref{keyw|ords}).\|
|00001020| 69 74 65 6d 20 54 6b 20 | 63 6f 6d 6d 61 6e 64 20 |item Tk |command |
|00001030| 74 79 70 65 20 28 5c 72 | 65 66 7b 74 6b 63 6f 6d |type (\r|ef{tkcom|
|00001040| 6d 61 6e 64 7d 29 0a 5c | 69 74 65 6d 20 65 6e 76 |mand}).\|item env|
|00001050| 69 72 6f 6e 6d 65 6e 74 | 20 74 79 70 65 20 28 5c |ironment| type (\|
|00001060| 72 65 66 7b 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 7d |ref{envi|ronment}|
|00001070| 29 0a 5c 69 74 65 6d 20 | 6d 61 63 72 6f 20 74 79 |).\item |macro ty|
|00001080| 70 65 20 28 5c 72 65 66 | 7b 6d 61 63 72 6f 73 7d |pe (\ref|{macros}|
|00001090| 29 0a 5c 69 74 65 6d 20 | 61 64 64 72 65 73 73 20 |).\item |address |
|000010a0| 74 79 70 65 20 28 5c 72 | 65 66 7b 61 64 64 72 65 |type (\r|ef{addre|
|000010b0| 73 73 65 73 7d 29 0a 5c | 69 74 65 6d 20 68 61 73 |sses}).\|item has|
|000010c0| 68 20 74 61 62 6c 65 20 | 74 79 70 65 20 28 5c 72 |h table |type (\r|
|000010d0| 65 66 7b 68 61 73 68 74 | 61 62 6c 65 73 7d 29 0a |ef{hasht|ables}).|
|000010e0| 5c 69 74 65 6d 20 52 65 | 67 75 6c 61 72 20 65 78 |\item Re|gular ex|
|000010f0| 70 72 65 73 73 69 6f 6e | 20 74 79 70 65 20 28 5c |pression| type (\|
|00001100| 72 65 66 7b 72 65 67 65 | 78 70 2d 74 79 70 65 7d |ref{rege|xp-type}|
|00001110| 29 0a 5c 69 74 65 6d 20 | 70 72 6f 63 65 73 73 20 |).\item |process |
|00001120| 74 79 70 65 20 28 5c 72 | 65 66 7b 70 72 6f 63 65 |type (\r|ef{proce|
|00001130| 73 73 2d 74 79 70 65 7d | 29 0a 5c 69 74 65 6d 20 |ss-type}|).\item |
|00001140| 73 6f 63 6b 65 74 20 74 | 79 70 65 20 28 5c 72 65 |socket t|ype (\re|
|00001150| 66 7b 73 6f 63 6b 65 74 | 2d 74 79 70 65 7d 29 0a |f{socket|-type}).|
|00001160| 5c 65 6e 64 7b 69 74 65 | 6d 69 7a 65 7d 0a 0a 5c |\end{ite|mize}..\|
|00001170| 73 65 63 74 69 6f 6e 7b | 50 72 6f 63 65 64 75 72 |section{|Procedur|
|00001180| 65 73 7d 0a 0a 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |es}..The| followi|
|00001190| 6e 67 20 70 72 6f 63 65 | 64 75 72 65 73 20 61 72 |ng proce|dures ar|
|000011a0| 65 20 72 65 71 75 69 72 | 65 64 20 62 79 20 7b 5c |e requir|ed by {\|
|000011b0| 72 72 72 72 7d 20 61 6e | 64 20 61 72 65 20 6e 6f |rrrr} an|d are no|
|000011c0| 74 20 69 6d 70 6c 65 6d | 65 6e 74 65 64 20 69 6e |t implem|ented in|
|000011d0| 20 74 68 65 0a 7b 5c 73 | 74 6b 7d 20 69 6e 74 65 | the.{\s|tk} inte|
|000011e0| 72 70 72 65 74 65 72 2e | 0a 5c 62 65 67 69 6e 7b |rpreter.|.\begin{|
|000011f0| 69 74 65 6d 69 7a 65 7d | 0a 5c 69 74 65 6d 7b 74 |itemize}|.\item{t|
|00001200| 72 61 6e 73 63 72 69 70 | 74 2d 6f 66 66 7d 5c 73 |ranscrip|t-off}\s|
|00001210| 63 68 69 6e 64 65 78 7b | 74 72 61 6e 73 63 72 69 |chindex{|transcri|
|00001220| 70 74 2d 6f 66 66 7d 0a | 5c 69 74 65 6d 7b 74 72 |pt-off}.|\item{tr|
|00001230| 61 6e 73 63 72 69 70 74 | 2d 6f 6e 7d 5c 73 63 68 |anscript|-on}\sch|
|00001240| 69 6e 64 65 78 7b 74 72 | 61 6e 73 63 72 69 70 74 |index{tr|anscript|
|00001250| 2d 6f 6e 7d 0a 5c 65 6e | 64 7b 69 74 65 6d 69 7a |-on}.\en|d{itemiz|
|00001260| 65 7d 0a 0a 5c 69 64 65 | 7b 54 72 61 6e 73 63 72 |e}..\ide|{Transcr|
|00001270| 69 70 74 2d 6f 66 66 7d | 20 61 6e 64 20 5c 69 64 |ipt-off}| and \id|
|00001280| 65 7b 74 72 61 6e 73 63 | 72 69 70 74 2d 6f 6e 7d |e{transc|ript-on}|
|00001290| 20 63 61 6e 20 62 65 20 | 73 69 6d 75 6c 61 74 65 | can be |simulate|
|000012a0| 64 20 77 69 74 68 20 0a | 76 61 72 69 6f 75 73 20 |d with .|various |
|000012b0| 55 6e 69 78 20 74 6f 6f | 6c 73 20 73 75 63 68 20 |Unix too|ls such |
|000012c0| 61 73 20 7b 5c 74 74 20 | 73 63 72 69 70 74 7d 20 |as {\tt |script} |
|000012d0| 6f 72 20 7b 5c 74 74 20 | 66 65 70 7d 2e 0a 0a 5c |or {\tt |fep}...\|
|000012e0| 76 73 6b 69 70 33 6d 6d | 0a 54 68 65 20 66 6f 6c |vskip3mm|.The fol|
|000012f0| 6c 6f 77 69 6e 67 20 70 | 72 6f 63 65 64 75 72 65 |lowing p|rocedure|
|00001300| 73 20 61 72 65 20 6e 6f | 74 20 69 6d 70 6c 65 6d |s are no|t implem|
|00001310| 65 6e 74 65 64 20 69 6e | 20 74 68 65 20 7b 5c 73 |ented in| the {\s|
|00001320| 74 6b 7d 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |tk} inte|rpreter |
|00001330| 77 68 65 72 65 61 73 0a | 74 68 65 79 20 61 72 65 |whereas.|they are|
|00001340| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 7b 5c 72 72 | defined| in {\rr|
|00001350| 72 72 7d 20 28 62 75 74 | 20 6e 6f 74 20 72 65 71 |rr} (but| not req|
|00001360| 75 69 72 65 64 29 2e 20 | 54 68 65 79 20 61 72 65 |uired). |They are|
|00001370| 20 61 6c 6c 20 0a 72 65 | 6c 61 74 65 64 20 74 6f | all .re|lated to|
|00001380| 20 63 6f 6d 70 6c 65 78 | 20 6f 72 20 72 61 74 69 | complex| or rati|
|00001390| 6f 6e 61 6c 20 6e 75 6d | 62 65 72 73 2e 0a 5c 62 |onal num|bers..\b|
|000013a0| 65 67 69 6e 7b 69 74 65 | 6d 69 7a 65 7d 0a 5c 69 |egin{ite|mize}.\i|
|000013b0| 74 65 6d 7b 6e 75 6d 65 | 72 61 74 6f 72 7d 5c 73 |tem{nume|rator}\s|
|000013c0| 63 68 69 6e 64 65 78 7b | 6e 75 6d 65 72 61 74 6f |chindex{|numerato|
|000013d0| 72 7d 0a 5c 69 74 65 6d | 7b 64 65 6e 6f 6d 69 6e |r}.\item|{denomin|
|000013e0| 61 74 6f 72 7d 5c 73 63 | 68 69 6e 64 65 78 7b 64 |ator}\sc|hindex{d|
|000013f0| 65 6e 6f 6d 69 6e 61 74 | 6f 72 7d 0a 5c 69 74 65 |enominat|or}.\ite|
|00001400| 6d 7b 72 61 74 69 6f 6e | 61 6c 69 7a 65 7d 5c 73 |m{ration|alize}\s|
|00001410| 63 68 69 6e 64 65 78 7b | 72 61 74 69 6f 6e 61 6c |chindex{|rational|
|00001420| 69 7a 65 7d 0a 5c 69 74 | 65 6d 7b 6d 61 6b 65 2d |ize}.\it|em{make-|
|00001430| 72 65 63 74 61 6e 67 75 | 6c 61 72 7d 5c 73 63 68 |rectangu|lar}\sch|
|00001440| 69 6e 64 65 78 7b 6d 61 | 6b 65 2d 72 65 63 74 61 |index{ma|ke-recta|
|00001450| 6e 67 75 6c 61 72 7d 0a | 5c 69 74 65 6d 7b 6d 61 |ngular}.|\item{ma|
|00001460| 6b 65 2d 70 6f 6c 61 72 | 7d 5c 73 63 68 69 6e 64 |ke-polar|}\schind|
|00001470| 65 78 7b 6d 61 6b 65 2d | 70 6f 6c 61 72 7d 0a 5c |ex{make-|polar}.\|
|00001480| 69 74 65 6d 7b 72 65 61 | 6c 2d 70 61 72 74 7d 5c |item{rea|l-part}\|
|00001490| 73 63 68 69 6e 64 65 78 | 7b 72 65 61 6c 2d 70 61 |schindex|{real-pa|
|000014a0| 72 74 7d 0a 5c 69 74 65 | 6d 7b 69 6d 61 67 2d 70 |rt}.\ite|m{imag-p|
|000014b0| 61 72 74 7d 5c 73 63 68 | 69 6e 64 65 78 7b 69 6d |art}\sch|index{im|
|000014c0| 61 67 2d 70 61 72 74 7d | 0a 5c 69 74 65 6d 7b 6d |ag-part}|.\item{m|
|000014d0| 61 67 6e 69 74 75 64 65 | 7d 5c 73 63 68 69 6e 64 |agnitude|}\schind|
|000014e0| 65 78 7b 6d 61 67 6e 69 | 74 75 64 65 7d 0a 5c 69 |ex{magni|tude}.\i|
|000014f0| 74 65 6d 7b 61 6e 67 6c | 65 7d 5c 73 63 68 69 6e |tem{angl|e}\schin|
|00001500| 64 65 78 7b 61 6e 67 6c | 65 7d 0a 5c 65 6e 64 7b |dex{angl|e}.\end{|
|00001510| 69 74 65 6d 69 7a 65 7d | 0a 0a 0a 0a 25 25 25 20 |itemize}|....%%% |
|00001520| 4c 6f 63 61 6c 20 56 61 | 72 69 61 62 6c 65 73 3a |Local Va|riables:|
|00001530| 20 0a 25 25 25 20 6d 6f | 64 65 3a 20 6c 61 74 65 | .%%% mo|de: late|
|00001540| 78 0a 25 25 25 20 54 65 | 58 2d 6d 61 73 74 65 72 |x.%%% Te|X-master|
|00001550| 3a 20 22 6d 61 6e 75 61 | 6c 22 0a 25 25 25 20 45 |: "manua|l".%%% E|
|00001560| 6e 64 3a 20 0a | |nd: . | |
+--------+-------------------------+-------------------------+--------+--------+